<input type="text"
value="Please Enter Password.."
name="password" id="passwordId"
onClick="checkPassword()"
>

<script>
  function checkPassword()
  {
    var oPassword = document.getElementById('passwordId');
    oPassword.value = '';
    oPassword.type = 'password';
  }
</script>